home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 152 / PCG152DA0905 / PCG152DA0905.mdf / Main.dxr / Scripts_24_Move the Black Bar.ls < prev    next >
Encoding:
Text File  |  2005-07-15  |  466 b   |  16 lines

  1. property spriteNum
  2. global gCurrentSection
  3.  
  4. on mouseUp
  5.   itemNumber = spriteNum - 50
  6.   CurrentPath = "Interface\" & gCurrentSection & "\" & itemNumber & "\"
  7.   member("Imaginary").text = EMPTY
  8.   member("Imaginary").fileName = CurrentPath & "description.txt"
  9.   if member("Imaginary").text = EMPTY then
  10.   else
  11.     HowFarDown = 116 + (20 * (spriteNum - 51))
  12.     set the locV of sprite 50 to 116 + (20 * (spriteNum - 51))
  13.     set the locH of sprite 50 to 160
  14.   end if
  15. end
  16.